package com.cq.service;

import com.cq.pojo.ActivityAnalysis;
import com.cq.pojo.ActivityAnalysisAndAlogAndDiff;
import com.cq.pojo.ConversionIncome;
import com.cq.pojo.dto.MediaSlotPageDTO;
import com.cq.result.PageResult;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface ActivityService {

    List<ActivityAnalysis> findNewActivities();

    ActivityAnalysis getAlog(String campaignId);

    void download(HttpServletResponse response) throws IOException;

    ConversionIncome getConversionIncome(String campaignId, String status);

    void conversionIncomeDownload(HttpServletResponse response, String campaignId, String status) throws IOException;

    PageResult findMediaSlot(MediaSlotPageDTO dto);

    void mediaSlotDownload(HttpServletResponse response, MediaSlotPageDTO dto) throws IOException;

    List<String> findAllMedia();

    void contactPointDownload(HttpServletResponse response, MediaSlotPageDTO dto) throws IOException;

    Map<String, List<String>> findTypeAndCNames();

    ActivityAnalysisAndAlogAndDiff comparisonOfCoreIndicators(String cidA, String cidB);

    void comparisonOfCoreIndicatorsDownload(String cidA, String cidB, HttpServletResponse response) throws IOException;

    List<ActivityAnalysis> findActivityCpm();
}
